package com.seaengine.util
{
	import flash.filters.GlowFilter;
	
	public class FilterUtil
	{
		/**
		 * 	灰色滤镜
		 * 	var matrix:Array = new Array();
			matrix = matrix.concat([0.3086, 0.6094, 0.082, 0, 0]); // red
			matrix = matrix.concat([0.3086, 0.6094, 0.082, 0, 0]); // green
			matrix = matrix.concat([0.3086, 0.6094, 0.082, 0, 0]); // blue
			matrix = matrix.concat([0, 0, 0, 1, 0]); // alpha
		 * @return 
		 * 
		 */		
		public static const Gray:Array=[0.3086, 0.6094, 0.082, 0, 0,
										0.3086, 0.6094, 0.082, 0, 0,
										0.3086, 0.6094, 0.082, 0, 0,
										0, 0, 0, 1, 0];
										
		public static const glowFilter:GlowFilter = new GlowFilter(0x000000, 1, 2, 2, 12, 1, false, false);
	}
}